<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfcRequestManager</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfinity-0.4 Reference Manual">
<link rel="up" href="ch04.html" title="Libinfinity client side API">
<link rel="prev" href="InfcRequest.html" title="InfcRequest">
<link rel="next" href="ch05.html" title="Libinfinity server side API">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfcRequest.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.4 Reference Manual</th>
<td><a accesskey="n" href="ch05.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfcRequestManager.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfcRequestManager.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfcRequestManager.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfcRequestManager.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#InfcRequestManager.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="InfcRequestManager">
<a name="InfcRequestManager"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfcRequestManager.top_of_page"></a>InfcRequestManager</span></h2>
<p>InfcRequestManager</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfcRequestManager.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><span class="returnvalue">void</span>                (<a class="link" href="InfcRequestManager.html#InfcRequestManagerForeachFunc" title="InfcRequestManagerForeachFunc ()">*InfcRequestManagerForeachFunc</a>)    (<em class="parameter"><code><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> *Param1</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> Param2</code></em>);
                    <a class="link" href="InfcRequestManager.html#InfcRequestManager-struct" title="InfcRequestManager">InfcRequestManager</a>;
                    <a class="link" href="InfcRequestManager.html#InfcRequestManagerClass" title="InfcRequestManagerClass">InfcRequestManagerClass</a>;
<a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="returnvalue">InfcRequestManager</span></a> * <a class="link" href="InfcRequestManager.html#infc-request-manager-new" title="infc_request_manager_new ()">infc_request_manager_new</a>           (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seq_id</code></em>);
<a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       <a class="link" href="InfcRequestManager.html#infc-request-manager-add-request" title="infc_request_manager_add_request ()">infc_request_manager_add_request</a>    (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> request_type</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *request_name</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
                                                         <em class="parameter"><code>...</code></em>);
<a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       <a class="link" href="InfcRequestManager.html#infc-request-manager-add-request-valist" title="infc_request_manager_add_request_valist ()">infc_request_manager_add_request_valist</a>
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> request_type</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *request_name</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
                                                         <em class="parameter"><code><span class="type">va_list</span> arglist</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfcRequestManager.html#infc-request-manager-remove-request" title="infc_request_manager_remove_request ()">infc_request_manager_remove_request</a> (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> *request</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfcRequestManager.html#infc-request-manager-fail-request" title="infc_request_manager_fail_request ()">infc_request_manager_fail_request</a>   (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> *request</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfcRequestManager.html#infc-request-manager-clear" title="infc_request_manager_clear ()">infc_request_manager_clear</a>          (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>);
<a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       <a class="link" href="InfcRequestManager.html#infc-request-manager-get-request-by-seq" title="infc_request_manager_get_request_by_seq ()">infc_request_manager_get_request_by_seq</a>
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seq</code></em>);
<a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       <a class="link" href="InfcRequestManager.html#infc-request-manager-get-request-by-xml" title="infc_request_manager_get_request_by_xml ()">infc_request_manager_get_request_by_xml</a>
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">xmlNodePtr</span> xml</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       <a class="link" href="InfcRequestManager.html#infc-request-manager-get-request-by-xml-required" title="infc_request_manager_get_request_by_xml_required ()">infc_request_manager_get_request_by_xml_required</a>
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">xmlNodePtr</span> xml</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfcRequestManager.html#infc-request-manager-foreach-request" title="infc_request_manager_foreach_request ()">infc_request_manager_foreach_request</a>
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfcRequestManager.html#InfcRequestManagerForeachFunc" title="InfcRequestManagerForeachFunc ()"><span class="type">InfcRequestManagerForeachFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfcRequestManager.html#infc-request-manager-foreach-named-request" title="infc_request_manager_foreach_named_request ()">infc_request_manager_foreach_named_request</a>
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfcRequestManager.html#InfcRequestManagerForeachFunc" title="InfcRequestManagerForeachFunc ()"><span class="type">InfcRequestManagerForeachFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfcRequestManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----InfcRequestManager
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="InfcRequestManager.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfcRequestManager.html#InfcRequestManager--sequence-id" title='The "sequence-id" property'>sequence-id</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="InfcRequestManager.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="InfcRequestManager.html#InfcRequestManager-request-add" title='The "request-add" signal'>request-add</a>"                                    : Run Last
  "<a class="link" href="InfcRequestManager.html#InfcRequestManager-request-remove" title='The "request-remove" signal'>request-remove</a>"                                 : Run Last
</pre>
</div>
<div class="refsect1" title="Description">
<a name="InfcRequestManager.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfcRequestManager.details"></a><h2>Details</h2>
<div class="refsect2" title="InfcRequestManagerForeachFunc ()">
<a name="InfcRequestManagerForeachFunc"></a><h3>InfcRequestManagerForeachFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*InfcRequestManagerForeachFunc)    (<em class="parameter"><code><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> *Param1</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> Param2</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>Param1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Param2</code></em> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="InfcRequestManager">
<a name="InfcRequestManager-struct"></a><h3>InfcRequestManager</h3>
<pre class="programlisting">typedef struct _InfcRequestManager InfcRequestManager;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="InfcRequestManagerClass">
<a name="InfcRequestManagerClass"></a><h3>InfcRequestManagerClass</h3>
<pre class="programlisting">typedef struct {
  GObjectClass parent_class;

  void (*request_add)(InfcRequestManager* manager,
                      InfcRequest* request);
  void (*request_remove)(InfcRequestManager* manager,
                         InfcRequest* request);
} InfcRequestManagerClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_new ()">
<a name="infc-request-manager-new"></a><h3>infc_request_manager_new ()</h3>
<pre class="programlisting"><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="returnvalue">InfcRequestManager</span></a> * infc_request_manager_new           (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seq_id</code></em>);</pre>
<p>
Creates a new <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>seq_id</code></em> :</span></p></td>
<td>The local sequence ID.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A newly allocated <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_add_request ()">
<a name="infc-request-manager-add-request"></a><h3>infc_request_manager_add_request ()</h3>
<pre class="programlisting"><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       infc_request_manager_add_request    (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> request_type</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *request_name</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
<p>
Adds a request to the request manager.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_type</code></em> :</span></p></td>
<td>The type of request to add, such as <code class="literal">INFC_TYPE_NODE_REQUEST</code>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_name</code></em> :</span></p></td>
<td>The name of the request, such as "explore-node" or
"subscribe-session".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
<td>The first property name apart from name and seq to
set for the new request.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>The value of the first property, followed optionally by more
name/value pairs, followed by <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The generated <a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> (actually of type <em class="parameter"><code>request_type</code></em>).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_add_request_valist ()">
<a name="infc-request-manager-add-request-valist"></a><h3>infc_request_manager_add_request_valist ()</h3>
<pre class="programlisting"><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       infc_request_manager_add_request_valist
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> request_type</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *request_name</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
                                                         <em class="parameter"><code><span class="type">va_list</span> arglist</code></em>);</pre>
<p>
Adds a request to the request manager.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_type</code></em> :</span></p></td>
<td>The type of request to add, such as <code class="literal">INFC_TYPE_NODE_REQUEST</code>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_name</code></em> :</span></p></td>
<td>The name of the request, such as "explore-node" or
"subscribe-session"
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
<td>The first property name apart from name and seq to
set for the new request.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arglist</code></em> :</span></p></td>
<td>The value of the first property, followed optionally by more
name/value pairs, followed by <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The generated <a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> (actually of type <em class="parameter"><code>request_type</code></em>).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_remove_request ()">
<a name="infc-request-manager-remove-request"></a><h3>infc_request_manager_remove_request ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                infc_request_manager_remove_request (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> *request</code></em>);</pre>
<p>
Removes a request from the request manager.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> that has previously been added to <em class="parameter"><code>manager</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_fail_request ()">
<a name="infc-request-manager-fail-request"></a><h3>infc_request_manager_fail_request ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                infc_request_manager_fail_request   (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> *request</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
<p>
Emits the "failed" signal on <em class="parameter"><code>request</code></em> and then removes the request from
the manager.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a> that has previously been added to <em class="parameter"><code>manager</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Error information why the request failed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_clear ()">
<a name="infc-request-manager-clear"></a><h3>infc_request_manager_clear ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                infc_request_manager_clear          (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>);</pre>
<p>
Removes all the requests in <em class="parameter"><code>manager</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_get_request_by_seq ()">
<a name="infc-request-manager-get-request-by-seq"></a><h3>infc_request_manager_get_request_by_seq ()</h3>
<pre class="programlisting"><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       infc_request_manager_get_request_by_seq
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seq</code></em>);</pre>
<p>
Returns a previously-added request that has the given seq.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>seq</code></em> :</span></p></td>
<td>The sequence number to which the request should be retrieved.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The request with the given seq, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no such
request.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_get_request_by_xml ()">
<a name="infc-request-manager-get-request-by-xml"></a><h3>infc_request_manager_get_request_by_xml ()</h3>
<pre class="programlisting"><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       infc_request_manager_get_request_by_xml
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">xmlNodePtr</span> xml</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Looks whether there is a "seq" attribute in <em class="parameter"><code>xml</code></em>. If not, the function
returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> (without setting <em class="parameter"><code>error</code></em>). Otherwise, it returns the request
with the given seq and name, if the sequence ID matches. If the "seq"
attribute is set but the actual request is not present (or has another
name), the function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and <em class="parameter"><code>error</code></em> is set.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>Name of the expected request. May be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to allow all requests.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xml</code></em> :</span></p></td>
<td>XML node that is supposed to contain a "seq" attribute.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Location to store error information.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The resulting request, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the "seq" attribute was
not present or an error occured.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_get_request_by_xml_required ()">
<a name="infc-request-manager-get-request-by-xml-required"></a><h3>infc_request_manager_get_request_by_xml_required ()</h3>
<pre class="programlisting"><a class="link" href="InfcRequest.html" title="InfcRequest"><span class="returnvalue">InfcRequest</span></a> *       infc_request_manager_get_request_by_xml_required
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">xmlNodePtr</span> xml</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Looks whether there is a "seq" attribute in <em class="parameter"><code>xml</code></em>. If so, it returns the
request with the given seq and name, if the sequence ID matches. If the
"seq" attribute is not set or the actual request is not present (or has
another name), the function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and <em class="parameter"><code>error</code></em> is set.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>Name of the expected request. May be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to allow all requests.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xml</code></em> :</span></p></td>
<td>XML node that is supposed to contain a "seq" attribute.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Location to store error information.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The resulting request, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occured.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_foreach_request ()">
<a name="infc-request-manager-foreach-request"></a><h3>infc_request_manager_foreach_request ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                infc_request_manager_foreach_request
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfcRequestManager.html#InfcRequestManagerForeachFunc" title="InfcRequestManagerForeachFunc ()"><span class="type">InfcRequestManagerForeachFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Calls the given function for each request that has been added to the
request manager.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>The function to be called.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary data to be passed to <em class="parameter"><code>func</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infc_request_manager_foreach_named_request ()">
<a name="infc-request-manager-foreach-named-request"></a><h3>infc_request_manager_foreach_named_request ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                infc_request_manager_foreach_named_request
                                                        (<em class="parameter"><code><a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfcRequestManager.html#InfcRequestManagerForeachFunc" title="InfcRequestManagerForeachFunc ()"><span class="type">InfcRequestManagerForeachFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Calls the given function for each request that has been added to the
request manager that has the name <em class="parameter"><code>name</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The name of the request to look for.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>The function to be called.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary data to be passed to <em class="parameter"><code>func</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="InfcRequestManager.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "sequence-id" property'>
<a name="InfcRequestManager--sequence-id"></a><h3>The <code class="literal">"sequence-id"</code> property</h3>
<pre class="programlisting">  "sequence-id"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write / Construct Only</pre>
<p>The local sequence identifier.</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="InfcRequestManager.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "request-add" signal'>
<a name="InfcRequestManager-request-add"></a><h3>The <code class="literal">"request-add"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *infcrequestmanager,
                                                        <a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a>        *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)               : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>infcrequestmanager</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "request-remove" signal'>
<a name="InfcRequestManager-request-remove"></a><h3>The <code class="literal">"request-remove"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="InfcRequestManager.html" title="InfcRequestManager"><span class="type">InfcRequestManager</span></a> *infcrequestmanager,
                                                        <a class="link" href="InfcRequest.html" title="InfcRequest"><span class="type">InfcRequest</span></a>        *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)               : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>infcrequestmanager</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>